// pages/user/userCenter/comps/shopData/shopData.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        shopInfo: Object,
        shopData: Object
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goShopData: function () {
            wx.navigateTo({
                url: '/pages/company/company?type=shop'
            })
        },
        goShopIncome: function (e) {
            wx.navigateTo({
                url: '/pages/shopManager/accountManager/accountIncome/accountIncome?incomeType=' + e.currentTarget.dataset.type
            })
        },
        goShopMoney: function () {
            wx.navigateTo({
                url: '/pages/shopManager/accountManager/accountMoney/accountMoney/accountMoney'
            })
        }
    }
})